import { instance as request } from '../request'

interface setHarvestTagsItf {
  harvestId: string //收获id
  list: string[]
}

/**
 * 为收获设置标签
 * @param data
 * @returns
 */
export const setHarvestTagsApi = (data: setHarvestTagsItf) : PromiseRes =>
  request.post('/harvestTags/set', data)
